package com.example.parallelandroid.entity;


import java.sql.Date;

public class StudyTimeRecord {
    private String userDateId;//学习记录表id
    private String userId;//用户id
    private Date studyDate;//学习日期
    private double studyTime;//学习时长

    public StudyTimeRecord() {}

    public StudyTimeRecord(String userDateId, String userId, Date studyDate, double studyTime) {
        this.userDateId = userDateId;
        this.userId = userId;
        this.studyDate = studyDate;
        this.studyTime = studyTime;
    }

    public String getUserDateId() {
        return userDateId;
    }

    public void setUserDateId(String userDateId) {
        this.userDateId = userDateId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Date getStudyDate() {
        return studyDate;
    }

    public void setStudyDate(Date studyDate) {
        this.studyDate = studyDate;
    }

    public double getStudyTime() {
        return studyTime;
    }

    public void setStudyTime(double studyTime) {
        this.studyTime = studyTime;
    }

    @Override
    public String toString() {
        return "StudyTimeRecord{" +
                "userDateId='" + userDateId + '\'' +
                ", userId='" + userId + '\'' +
                ", studyDate=" + studyDate +
                ", studyTime=" + studyTime +
                '}';
    }
}
